package com.ouc.service;

import com.ouc.entity.Circle;
import com.ouc.entity.Rectangle;
import com.ouc.entity.Shape;
import com.ouc.entity.Triangle;
import com.sun.org.apache.xpath.internal.operations.Bool;

import java.util.List;

/**
 * @Name: ShapeService
 * @Description:
 * @Author: Mr.Tong
 */
public interface ShapeService {

    public Shape insertShape(Shape shape);

    public Shape getShapeById(Integer id);

    public Boolean deleteShapeById(Integer id);

    public Shape getShapeByShapeCode(String shapeCode);

    public List<Shape> getAllShape();


    public Boolean shapeExists(String shapeCode);
}
